package com.tjh.gulimall.auth.feign;

import com.tjh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create by koala on 2021-05-06
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {
    // day96
    @GetMapping("/sms/sendCode")
    public R sendCode(@RequestParam("phone")String phone, @RequestParam("code")String code);
}
